package utils;

/**
 * @Author: DRevelation
 * @Date: 2020/12/8 10:42
 */
public class ReplaceUtils {
    public static void main(String[] args) {
        String a = "abcdefg";
        a = a.replace("g", "1");
        a = a.replace("f", "2");
        System.out.println("a = " + a);
        String b = a;
        System.out.println("b = " + b);
    }
}
